<?php

class Admin_Model_New
{
    private $id;
    private $title;
    private $content;
    private $date;
    private $img;
    
    
    public function __construct($id,
                                $title,
                                $content,
                                $date,
                                $img
                                )
    {
        $this->id = $id;
        $this->title = $title;
        $this->content = $content;
        $this->date = $date;
        $this->img = $img;
        
    }
    
    public function getId() {
        return $this->id;
    }
    
    public function getTitle() {
        return $this->title;
    }
    
    public function getContent() {
        return $this->content;
    }
    
    public function getDate() {
        return $this->date;
    }
    
    public function getImg() {
        return $this->img;
    }
}

